package com.kelan.android.app.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kelan.android.app.config.DSEnum;
import com.kelan.android.app.config.DataSource;
import com.kelan.android.app.entity.ItemEntity;
import com.kelan.android.app.mapper.ItemMapper;

@Service
public class ItemServiceImpl implements ItemService {

	@Autowired
	private ItemMapper itemMapper;
	
	@Override
	@DataSource(name = DSEnum.DATA_SOURCE_TH)
	public List<ItemEntity> selectItemList(ItemEntity itemEntity) {
		return itemMapper.selectItemList(itemEntity);
	}

}
